package com.sc.nft.service.impl;

import cn.hutool.core.convert.Convert;
import cn.hutool.core.lang.Assert;
import com.sc.nft.dao.DaoEcologyPointsWalletLogDao;
import com.sc.nft.entity.DaoEcologyPoints;
import com.sc.nft.entity.DaoEcologyPointsWalletLog;
import com.sc.nft.enums.DaoEcologyPointsDetailRecordsTypeEnum;
import com.sc.nft.exception.GlobalRunTimeException;
import com.sc.nft.service.DaoEcologyPointsWalletLogService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * <p>
 * Dao生态积分钱包明细 服务实现类
 * </p>
 *
 * @author liGen
 * @since 2024-11-26
 */
@Slf4j
@RequiredArgsConstructor
@Service
public class DaoEcologyPointsWalletLogServiceImpl implements DaoEcologyPointsWalletLogService {

    private final DaoEcologyPointsWalletLogDao daoEcologyPointsWalletLogDao;

    @Override
    public Boolean save(DaoEcologyPointsWalletLog daoEcologyPointsWalletLog) {
        return daoEcologyPointsWalletLogDao.save(daoEcologyPointsWalletLog);
    }
}
